package com.baosight.qualitycontrol.common;

public enum ResultEnum {
	SUCCESS(200, "success"), ERROR(500, "error"), DENIED(300, "Permission denied");

	private int code;
	private String desc;

	private ResultEnum(int code, String desc) {
		this.code = code;
		this.desc = desc;
	}

	public int getCode() {
		return code;
	}

	public String getDesc() {
		return desc;
	}
}
